package sysu.el.graph.tree;

import sysu.el.graph.GraphConstants;

public class FatherTreeTopoInt extends FatherTreeTopo {
	public FatherTreeTopoInt(int n) {
		super(n);
		val = new int[n];
	}
	
	public FatherTreeTopoInt(int n, int init){
		this.fa = new int[n];
		this.val= new int[n];
		for (int i=0; i<n; i++){
			this.fa[i] = GraphConstants.NULL_NODE;
			this.val[i] = init;
		}
	}

	
	public int val[];
	public int sum;
}
